package cn.edu.xmu.oomall.activity.microservice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Min;
import java.time.ZonedDateTime;

/**
 * @author Lin Jiyuan
 * @sn 30320192200032
 */
@Data
public class PostOnSaleVo {
    @Min(0)
    private Long price;

    @Min(1)
    private Integer quantity;

    @Min(1)
    private Integer maxQuantity;

    @Min(1)
    private Integer numKey;
}